<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage CofiAcad
 * @since CofiAcad 1.0
 */
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );

	?></title>
<link href="<?php bloginfo('template_url'); ?>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<?php bloginfo('template_url'); ?>/css/tweaks.css" rel="stylesheet" type="text/css" />
<script src="<?php bloginfo('template_url'); ?>/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.cycle.all.2.74.js"></script>
<script type="text/javascript">
$('.testi-content').cycle({ 
    fx:     'fade', 
    timeout: 20000, 
    delay:  -2000,
	speed: 500,
	next: ".testi-next",
	prev: ".testi-prev"
});
</script>


<?php
	/* We add some JavaScript to pages with the comment form
	 * to support sites with threaded comments (when in use).
	 */
	if ( is_singular() && get_option( 'thread_comments' ) )
		wp_enqueue_script( 'comment-reply' );

	/* Always have wp_head() just before the closing </head>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to add elements to <head> such
	 * as styles, scripts, and meta tags.
	 */
	wp_head();
?>

</head>

<body>
	<div class="mainContainer">
    	<div class="header">
        	<div class="logoCon">
            	<a href="/"><img src="<?php bloginfo('template_url'); ?>/images/coffee-academy1.jpg" alt="The Coffee Academy" title="The Coffee Academy" border="0" /></a>
        </div>
            <div class="commonLinks">
            	<ul class="commonLinks_ul">
                	<li><a href="/" style="background:url(<?php bloginfo('template_url'); ?>/images/homebg.png) no-repeat;">Home</a></li>
                    <li><a href="#">About Us</a></li>
                    <li><a href="#">Contact Us</a></li>
                </ul>
            </div>
            <div class="searchCon">
            	<?php get_search_form(); ?>
            </div>
        </div>
        <div class="slideshowCon_inner">
        	<div class="naviCon">
            	<ul class="navi">
                	<li><a href="/" class="home">Home</a></li>
                    <li><a href="#">Coffee</a></li>
                    <li><a href="#">Menu</a></li>
                    <li><a href="/locations">Locations</a></li>
                    <li><a href="#">Gallery</a></li>
                    <li><a href="#">Events</a></li>
                    <li><a href="/about-us">About Us</a></li>
                    <li><a href="#">Contact Us</a></li>
                </ul>
            </div>
        </div>
        <!-- end of header -->